package com.lenovo.srl.dil.tiltbase.lib;

import android.app.Application;

import com.google.code.microlog4android.config.PropertyConfigurator;
import com.lenovo.srl.dil.tiltbase.lib.utils.PreferenceUtil;

public class BaseApp extends Application {

	static BaseApp instance;

	@Override
	public void onCreate() {
		super.onCreate();
		instance = this;
		PropertyConfigurator.getConfigurator(this).configure(R.raw.microlog);
		PreferenceUtil.init(this);
	}

	public Class<?> getSettingActivityClazz() {
		return SettingsActivity.class;
	}

	public static BaseApp getInstance() {
		return instance;
	}
}
